<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>添加类型</title>
  <link rel="stylesheet" href="../layui/css/layui.css">
  <link rel="stylesheet" href="../layui/font/iconfont.woff">
</head>
<style>
  * {
    margin: 0;
    padding: 0;
  }

  .clear::after {
    content: "";
    display: block;
    clear: both;
  }

  #show {
    width: 95%;
    padding: 0 2.5% 2.5% 2.5%;
    background-color: rgb(240, 244, 246);
  }

  #tubiaofont {
    height: 60px;
    background-color: rgb(240, 244, 246);
  }

  #tubiaofont span {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    color: gray;
    font-size: 15px;
  }

  #tabdiv {
    width: 100%;
    background-color: white;
    overflow: hidden;
  }

  #tabdiv>p {
    width: 100%;
    padding: 20px 0;
    background-color: rgb(236, 239, 241);
  }

  #tabdiv>table {
    width: 100%;
    text-align: center;
  }

  #addbtn {
    margin: 1%;
  }

  tr {
    border: 1px solid gainsboro;
    height: 50px;
  }

  #DIB {
    width: 100px;
    border: 1px solid gray;
    background-color: rgba(1, 1, 1, 0);
    padding: 5px 0;
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 2px;
  }

  #test1 {
    float: right;
  }

  #tanchukuang {
    width: 95%;
    padding: 0 2.5% 2.5% 2.5%;
    background-color: rgb(240, 244, 246);
  }

  #tubiaofont {
    height: 60px;
    background-color: rgb(240, 244, 246);
  }

  #tubiaofont span:not(:first-of-type) {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    color: gray;
    font-size: 15px !important;
  }

  #popup_box {
    width: 100%;
    background-color: white;
    padding-bottom: 20px;
    overflow: hidden;
  }

  #popup_box p button:nth-of-type(1) {
    float: right;
  }

  #popup_box button {
    width: 9%;
    height: 38px;
  }

  #popup_box>p {
    padding: 14px 0 14px 14px;
    width: 100%;
    box-sizing: border-box;
    background-color: rgb(236, 239, 241);
  }

  #popup_box>div {
    width: 70%;
    margin: 20px auto;
    padding: 30px 0;
    border-bottom: 1px dashed gray;
  }

  #popup_box>div>div {
    margin-bottom: 40px;
  }

  #popup_box>div input {
    display: inline-block;
    width: 21%;
    padding: 5px;
  }

  #popup_box>div>div>span {
    display: inline-block;
    margin-left: 2%;
    font-size: 16px;
    width: 17%;
  }

  #chongzhi {
    border: 1px solid black;
    box-sizing: border-box;
  }

  .spangrop div {
    float: left;
    width: 29%;
    color: #B399A6;
    margin-left: 16%;
  }



  #tijiaoandre {
    background-color: #F8AC59;
    margin-left: 32%;
  }

  .pgrop p {
    color: #B399A6;
    margin-left: 26%;
  }

  .layui-icon-home {
    color: blue !important;
    font-size: 18px !important;
  }

  #chongzhi {
    background-color: white;
    color: black;
  }
</style>

<body>
  <div id="tanchukuang">

    <div id="tubiaofont">
      <span class="layui-icon layui-icon-home"></span>
      <span>&gt;&gt;</span>
      <span>商品</span>
      <span>&gt;&gt;</span>
      <span>类型管理</span>
      <span>&gt;&gt;</span>
      <span>类型添加</span>
    </div>
    <div id="popup_box">
      <p class="clear">类型添加 <button id="return_button">返回列表</button> </p>
      <!-- 输入框 -->
      <div>
        <div>
          <span>*类型名称</span><input type="text" name="" id="typename1">
        </div>
        <div>
          <span>*商品分类模板前缀</span><input type="text" name="" id="shangping1">
          <span>*商品分类模板后缀</span><input type="text" name="" id="shangping2">
        </div>
        <div class="spangrop clear">
          <div>商品分类模板前缀用于添加分类时读取模板资源使用，推荐使用默认值:分类"</div>
          <div class="spangrop2">商品内容模板后缀用于添加商品时读取模板资源使用，推荐使用默认值"商品"</div>
        </div>
      </div>

      <button id="tijiaoandre" class="layui-btn layui-btn-sm">提交并继续添加</button>
      <button id="tijiao" class="layui-btn layui-btn-sm">提交</button>
      <button id="chongzhi" class="layui-btn layui-btn-sm">重置</button>
      <div class="pgrop">
        <p>选择“提交并继续添加”按钮会停留在添加页面；</p>
        <p>选择“添加”按钮后将跳转到对应的列表页。</p>
      </div>
    </div>
  </div>
  <!-- jQuery -->
  <script src="../js/jQuery.3.6.0-uncompress.js"></script>
  <script src="../js/database.js"></script>
  <script src="../js/goods.js"></script>
  <!-- layui -->
  <!-- <script src="../layui/layui.js"></script> -->
</body>

</html>